﻿@model List<CollegeApp.DataModels.College>
<div class="jumbotron">
    College Reviews:<br />
    <a class="btn btn-primary btn-sm pull-right" href="/Home/AddCollege">Add College</a>
</div>

<table class="table-bordered table-condensed">
    <tr>
        <th>College Name</th>
        <th>College Review</th>
    </tr>
@foreach (var m in Model)
{
    <tr>
        <td>@m.Name</td>
        <td><img src="@m.Image" style="width:100px; height:100px;"/></td>
       
    </tr>
    
}

</table>